package chat.user;

import java.util.Vector;

public class RequestGroupUpdate extends Request{
	
	private Vector<String> group_name_list= new Vector<String>();

	public RequestGroupUpdate(){
		
		
	}
	
	public Vector<String> setGroupNames(Vector<Group> g){
		
		for (Group p: g){
			
			String g_name = p.getName();
			
			this.group_name_list.add(g_name);
			
		}
		
		return this.group_name_list;
	}
	
	public Vector<String> getGroupNames(){
		return this.group_name_list;
	}
	
	
}
